package com.domain.service;

import com.domain.common.Result;
import com.domain.pojo.Users;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.Map;

public interface LoginService {

    int checkPhone(String phone);

    Users saveUser(String phoneNumber,
                   String name,
                   String gender,
                   String birthday,
                   String city,
                   String industry,
                   String personalLabel,
                   String headImage,
                 /*  String nickName,*/
                   HttpServletRequest request);


    Users checklogin(String phoneNumber, HttpServletRequest request);

    Result getUserLable(String pageNum, String pageSize);

    Result getUserIndustrysList(String pageNum, String pageSize);


}
